<div>
    <div class="form-group">
        <label for="{{ $attributes['name'] }}">{{ $attributes['title'] }}</label>
        <div class="{{$attributes['class']??''}} @error($attributes['name'])is-invalid @enderror">
            <image-single action='{{ $attributes['action'] }}' name="{{ $attributes['name'] }}"
                image='{{ old($attributes['name'],$attributes['value']??'')}}'></image-single>
        </div>
        @error($attributes['name'] )
        <small id="helpId" class="form-text text-danger">{{ $message }}</small>
        @enderror
    </div>

</div>
